﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YYSite.Common.Domain;

namespace YYSite.Domain.Content.Articles
{
    public class Article : EntityBase
    {
        /// <summary>
        /// 标题
        /// </summary>
        public virtual string Title { get; set; }

        /// <summary>
        /// 代表图片
        /// </summary>
        public virtual string BehalfImage { get; set; }
        /// <summary>
        /// 内容HTML
        /// </summary>
        public virtual string ContentHTML { get; set; }
        /// <summary>
        /// 内容文本
        /// </summary>
        public virtual string ContentText { get; set; }
        /// <summary>
        /// 提取内容图片
        /// </summary>
        public virtual string ContentImage { get; set; }
        /// <summary>
        /// 作者
        /// </summary>
        public virtual string Author { get; set; }
        /// <summary>
        /// 状态：发布，草稿
        /// </summary>
        public virtual short Status { get; set; }
        /// <summary>
        /// 浏览记录数
        /// </summary>
        public virtual int Hits{get;set;}
        /// <summary>
        /// 热点
        /// </summary>
        public virtual short Hot { get; set; }
        /// <summary>
        /// 顺序
        /// </summary>
        public virtual int Sequence { get; set; }

        /// <summary>
        /// 顶
        /// </summary>
        public virtual int TopCount { get; set; }
        /// <summary>
        /// 踩
        /// </summary>
        public virtual int DownCount { get; set; }
    }
}
